crypto/cipher.gcm.tagSize (field)
10 uses
crypto/cipher (current package)
gcm.go#L72: tagSize int
gcm.go#L131: g := &gcm{cipher: cipher, nonceSize: nonceSize, tagSize: tagSize}
gcm.go#L164: return g.tagSize
gcm.go#L175: ret, out := sliceForAppend(dst, len(plaintext)+g.tagSize)
gcm.go#L203: if g.tagSize < gcmMinimumTagSize {
gcm.go#L207: if len(ciphertext) < g.tagSize {
gcm.go#L210: if uint64(len(ciphertext)) > ((1<<32)-2)*uint64(g.cipher.BlockSize())+uint64(g.tagSize) {
gcm.go#L214: tag := ciphertext[len(ciphertext)-g.tagSize:]
gcm.go#L215: ciphertext = ciphertext[:len(ciphertext)-g.tagSize]
gcm.go#L231: if subtle.ConstantTimeCompare(expectedTag[:g.tagSize], tag) != 1 {